{include file="header.html"}
<script src="/js/ckeditor/ckeditor.js"></script>

<div class="page-header">
	<h6>
		退货、退款审核
		<small>
			<i class="ace-icon fa fa-angle-double-right"></i>
			退货、退款审核
		</small>
	</h6>
</div><!-- /.page-header -->
<div class="row">
<div class="col-xs-12">
	<form class="form-horizontal" role="form" method="post" action="?app=order&act=order_check_return_goods" enctype="multipart/form-data">
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="name">{if $row->type==1}退款{else}退货{/if}人</label>
			<div class="col-sm-10">
				<div style="line-height: 35px;height: 36px;font-size: 16px;border: 1px solid #ccc;width: 150px;background: #eee;">{$row->name}</div>
				<input type="hidden" id="id" name="id" value="{$row->id}" class="col-xs-6" />
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="name_english"> 类型 </label>
			<div class="col-sm-10">
				<div style="line-height: 35px;height: 36px;font-size: 16px;border: 1px solid #ccc;width: 150px;background: #eee;">{if $row->type==1}退款{else}退货{/if}</div>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="name_english"> 金额 </label>
			<div class="col-sm-10">
				<div style="line-height: 35px;height: 36px;font-size: 16px;border: 1px solid #ccc;width: 150px;background: #eee;">{$row->price}</div>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="memo"> 退货\退款理由 </label>
			<div class="col-sm-10">
				<div style="line-height: 35px;height: 36px;font-size: 16px;">{$row->reason}</div>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="memo"> 退货\退款照片 </label>
			<div class="col-sm-10">
				<div style="line-height: 35px;height: 36px;font-size: 16px;">
					{if $row->pic1}
					<img src="{$row->pic1}" style="width:100px;height:100px;">
					{/if}
					{if $row->pic2}
					<img src="{$row->pic2}" style="width:100px;height:100px;">
					{/if}
					{if $row->pic3}
					<img src="{$row->pic3}" style="width:100px;height:100px;">
					{/if}
				</div>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="memo"> 申请时间 </label>
			<div class="col-sm-10">
				<div style="line-height: 35px;height: 36px;font-size: 16px;border: 1px solid #ccc;width: 150px;background: #eee;">{$row->add_time|date_format:"%Y-%m-%d"}</div>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="memo"> 状态 </label>
			<div class="col-sm-10">
				<select name="status" style="width: 150px;">
					<option value="0" {if $row->status == 0}selected{/if}>未审核</option>
					<option value="1" {if $row->status == 1}selected{/if}>同意</option>
					<option value="-1" {if $row->status == -1}selected{/if}>不同意</option>
				</select>
			</div>
		</div>
		{if $row->audit_time}
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="memo"> 审核时间 </label>
			<div class="col-sm-10" id="memo">
				<div style="line-height: 35px;height: 36px;font-size: 16px;border: 1px solid #ccc;width: 150px;">{$row->audit_time|date_format:"%Y-%m-%d"}</div>
			</div>
		</div>
		{/if}
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="audit_time"> 审核备注 </label>
			<div class="col-sm-10">
					<textarea style="width: 500px;height: 100px;text-align: left;" name="audit_memo" rows="3"id="audit_time">{if $row->audit_memo}{$row->audit_memo}{/if}
					</textarea>
			</div>
			<input type="hidden"  name="order_id" value="{$row->order_id}" class="col-xs-6" />
			<input type="hidden"  name="type" value="{$row->type}" class="col-xs-6" />
		</div>
		<div class="clearfix form-actions">
			<div class="col-md-offset-3 col-md-9">
				<button class="btn btn-info" type="submit">
					<i class="ace-icon fa fa-check bigger-110"></i>
					提交
				</button>

				&nbsp; &nbsp; &nbsp;
				<button class="btn" type="reset">
					<i class="ace-icon fa fa-undo bigger-110"></i>
					重置
				</button>
			</div>
		</div>
	</form>
</div>
</div>

{include file="footer.html"}